public abstract class Shape {
    protected double r;

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public Shape(double r) {

        this.r = r;
    }
    public abstract double getArea(double r);
    public abstract double getLength(double r);

}
